Versions:
doccmd is a lightweight command-line utility developed by Adam Dangoor that lets development teams treat code examples embedded in documentation as first-class citizens of the build pipeline. Designed for projects whose manuals, README files, or wiki pages contain fenced code blocks, the program parses Markdown, reStructuredText, and other common documentation formats, extracts every snippet that is tagged with a language identifier, and then streams each block to external linters, formatters, type-checkers, or test runners exactly as if it were a normal source file. By doing so, it eliminates the perennial problem of stale or broken examples that no longer compile or conform to current style rules. Continuous-integration jobs can therefore guarantee that every published code sample remains syntactically correct and follows the same quality standards as the production codebase. The tool is equally useful for library authors who want to ensure that tutorial snippets stay in sync with API changes, for technical writers who need to validate configuration samples against multiple runtime versions, and for educators who distribute coursework containing executable exercises. Since its first public commit, the project has produced eight numbered releases; the current stable build is 2026.03.02, which refines parser resilience and adds configurable exit-code aggregation for multi-document builds. doccmd is available at no cost from wget.nero.com, where it is delivered through trusted Windows package channels such as winget, always serving the newest build and enabling unattended batch installation alongside other applications.
Tags: